home *** CD-ROM | disk | FTP | other *** search
/ Visual Cafe 3 / Visual Cafe 3.ISO / Vcafe / Main.bin / InterruptedIOException.java < prev    next >
Text File  |  1998-09-22  |  2KB  |  58 lines

  1. /*
  2.  * @(#)InterruptedIOException.java    1.8 98/07/01
  3.  *
  4.  * Copyright 1995-1998 by Sun Microsystems, Inc.,
  5.  * 901 San Antonio Road, Palo Alto, California, 94303, U.S.A.
  6.  * All rights reserved.
  7.  * 
  8.  * This software is the confidential and proprietary information
  9.  * of Sun Microsystems, Inc. ("Confidential Information").  You
  10.  * shall not disclose such Confidential Information and shall use
  11.  * it only in accordance with the terms of the license agreement
  12.  * you entered into with Sun.
  13.  */
  14.  
  15. package java.io;
  16.  
  17. /**
  18.  * Signals that an I/O operation has been interrupted. 
  19.  *
  20.  * @author  unascribed
  21.  * @version 1.8, 07/01/98
  22.  * @see     java.io.InputStream
  23.  * @see     java.io.OutputStream
  24.  * @see     java.lang.Thread#interrupt()
  25.  * @since   JDK1.0
  26.  */
  27. public
  28. class InterruptedIOException extends IOException {
  29.     /**
  30.      * Constructs an <code>InterruptedIOException</code> with no detail 
  31.      * message. 
  32.      *
  33.      * @since   JDK1.0
  34.      */
  35.     public InterruptedIOException() {
  36.     super();
  37.     }
  38.  
  39.     /**
  40.      * Constructs an <code>InterruptedIOException</code> with the 
  41.      * specified detail message. 
  42.      *
  43.      * @param   s   the detail message.
  44.      * @since   JDK1.0
  45.      */
  46.     public InterruptedIOException(String s) {
  47.     super(s);
  48.     }
  49.  
  50.     /**
  51.      * Reports how many bytes had been transferred as part of the I/O 
  52.      * operation before it was interrupted. 
  53.      *
  54.      * @since   JDK1.0
  55.      */ 
  56.     public int bytesTransferred = 0;
  57. }
  58.